Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#115836 - 10/09/2002 16:45 Hijack v292 and "restore visuals"
papinist
member

Registered: 30/12/2001
Posts: 119
Loc: Italy
Hi all,

is only my problem or the Hijack 'restore visuals' does not work in v292?
_________________________
Stefano

Top
#115837 - 10/09/2002 16:47 Re: Hijack v292 and "restore visuals" [Re: papinist]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Make sure that you have set the in-car serial port rate to 115200, and make sure that you have selected the two desired info modes (say, Info:Track and Info:Transient) once from the main menu directly.
_________________________
Tony Fabris

Top
#115838 - 10/09/2002 17:54 Re: Hijack v292 and "restore visuals" [Re: tfabris]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
I was having similar troubles. You need all these lines in your config.ini

[output]
notify=1
[hijack]
suppress_notify=1
[serial]
car_rate=115200


I didn't have the notify=1 line I think.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#115839 - 10/09/2002 19:14 Re: Hijack v292 and "restore visuals" [Re: Shonky]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
How about this for a feature? In Hijack, if you try to turn on Restore Visuals, if the necessary settings aren't there, it just warns you on the screen. So no one else has this problem in the future.

Note that although notify=1 is required, only one of the other two (either suppress_notify or car_rate) is required.
_________________________
Tony Fabris

Top
#115840 - 11/09/2002 16:49 Re: Hijack v292 and "restore visuals" [Re: tfabris]
papinist
member

Registered: 30/12/2001
Posts: 119
Loc: Italy
Thanks tfabris and Shonky, I left the bbs for a while and sure I missed these settings.
Tomorrow I'll put it in my config.ini

Thanks
_________________________
Stefano

Top
#115841 - 11/09/2002 18:25 Re: Hijack v292 and "restore visuals" [Re: tfabris]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Isn't the requirement for these lines a hijack bug (no offense intended Mark ;-) ? What if you want to use a device on the serial port in the car that doesn't run at 115200 (gps for example)? You won't be able to with that config.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#115842 - 12/09/2002 03:19 Re: Hijack v292 and "restore visuals" [Re: mcomb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
What if you want to use a device on the serial port in the car that doesn't run at 115200 (gps for example)? You won't be able to with that config.

Incorrect. As I stated before, you only need either the suppress_notify option or the car_rate option.

If you have a slow serial device, then only do the first option.
_________________________
Tony Fabris

Top
#115843 - 12/09/2002 14:32 Re: Hijack v292 and "restore visuals" [Re: tfabris]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
In reply to:

Incorrect. As I stated before, you only need either the suppress_notify option or the car_rate option.




Actually that is not correct (at least not for me). I tried it with suppress_notify but not car_rate and it did not work. As soon as I added car_rate it started to work as expected. I am a few versions of hijack out of date though so maybe that got fixed already.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#115844 - 12/09/2002 14:41 Re: Hijack v292 and "restore visuals" [Re: mcomb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Interesting.

Oh well, moot point now that he's redone the code again. Supposedly the new version doesn't require any particular config settings at all. We'll see how it pans out in long-term usage.
_________________________
Tony Fabris

Top
#115845 - 20/09/2002 10:12 Re: Hijack v292 and "restore visuals" [Re: tfabris]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
an interesting oddity that i've found. i'm running b13 and hijack293.

i use the long button press - menu button on the deck itself to switch between a visual and track info. if i turn on the (properly setup) restore visuals feature... even if i was on track info, it reverts to the visual. i can go back to track by doing the long button press...

instead of switching to visuals manually, gotta do the opposite and switch manually to track info. pretty funny once you think about it.


Top
#115846 - 20/09/2002 16:47 Re: Hijack v292 and "restore visuals" [Re: tfabris]
chango
new poster

Registered: 10/11/1999
Posts: 22
Okay so, maybe its just me but restore visuals in 293 with no config does NOT work. Has anyone else experienced the same?
_________________________
// Mark II empeg 10GB Blue #2537

Top
#115847 - 20/09/2002 17:11 Re: Hijack v292 and "restore visuals" [Re: chango]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Yes, this was discussed in another thread. Someone else said they still needed to speed up the in-car serial port to make it work.
_________________________
Tony Fabris

Top
#115848 - 20/09/2002 20:10 Re: Hijack v292 and "restore visuals" [Re: tfabris]
foxtrot_xray
addict

Registered: 03/03/2002
Posts: 687
Loc: Atlanta, Georgia
Uhm, okay.
Dumb question. Open to all

Since I have NOT YET installed my player, I have yet to run it in 'DC' mode, so haven't had to mess with this part of the player yet.

In short, what the heck does the 'notify' and 'car_speed' have to do with the - ooh, lightening - Restore Visuals? I mean, why the link to begin with?

Me, typing in a storm.
_________________________
Mike 'Fox' Morrey 128BPM@124MPH. Love it! 2002 BRG Mini Cooper

Top
#115849 - 20/09/2002 20:27 Re: Hijack v292 and "restore visuals" [Re: foxtrot_xray]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
As I understand it, notify was (is?) required so that Hijack can see when the player application has started enough to be able to send it a signal to ``restore visuals''. It does this by watching the notify data that the application spits out of the serial port. However, the default speed of the serial port in the car is 9600 bps, not the 115200 bps that it is on AC power, and that's slow. Sometimes slow enough to mess things up. Making the speed faster (or preventing that data from actually travelling out of the serial port, via suppress_notify) prevents that from happening.

Note that this is all conjecture on my part, but I'm pretty sure that it's at least close to the truth.
_________________________
Bitt Faulk

Top
#115850 - 25/09/2002 19:49 Re: Hijack v292 and "restore visuals" [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
I've thought about this a lot at the Cincinnati meet, and I think I know what the dependency is. The serial routines discard data that arrives too quickly to be sent out the serial port, and hijack therefore misses such data. So if the serial rate is too slow, it never sees the patterns it is looking for.

By simply rearranging the code slightly, I can have hijack ALWAYS look at the data, before it gets discarded. Hopefully this will eliminate the dependency.

The theoretical untested fix is in now in for v295, to be released shortly.

Cheers

Top